package com.dingreading.cloud.mall.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  实体类。
 *
 * @author Administrator
 * @since 2024-08-21
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table("web_image")
public class WebImage implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 添加时间
     */
    @Column(onInsertValue = "now()")
    private Date addTime;

    private String type;

    private String url;

    private String addStaffName;

    private String addStaffUid;

    @Column(onInsertValue = "now()", onUpdateValue = "now()")
    private Date editTime;

    /**
     * 禁用状态 1.启用 0.禁用
     */
    private Integer enabled;

    private String lastStaffName;

    private String lastStaffUid;

    private Integer orderNum;

    private Integer typeId;

}
